﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.DisplayManagement.Descriptors.ShapeTemplateStrategy;
using Orchard.Environment.Extensions;

namespace NineSeas.Extensions
{
    [OrchardSuppressDependency("Orchard.DisplayManagement.Descriptors.ShapeTemplateStrategy.BasicShapeTemplateHarvester")]
    public class TemplateHarvester : BasicShapeTemplateHarvester, IShapeTemplateHarvester
    {
        public new IEnumerable<string> SubPaths()
        {
            return new[] 
            { 
                "Views", "Views/Items", "Views/Parts", "Views/Fields", "Views/Localize", 
                "Views/Controls", "Views/Home", "Views/Authoring", "Views/Authors", "Views/Book" 
            };
        }
    }
}